﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 请购单行DTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class PRLineAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public PRLineAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
					ReqQtyTU=0m; 
		
		
		
		
		
		
					DocLineNo= 0; 
				
		
		
		
		
		
		
					ReqQtyPU=0m; 

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.PRAITDTO != null) 
			{
				this.PRAITDTO.DoSerializeKeyList(dict);
			}
	        			if (this.TradeUOM != null) 
			{
				this.TradeUOM.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.RegOrg != null) 
			{
				this.RegOrg.DoSerializeKeyList(dict);
			}
	        			if (this.RcvOrg != null) 
			{
				this.RcvOrg.DoSerializeKeyList(dict);
			}
	        			if (this.PurPerson != null) 
			{
				this.PurPerson.DoSerializeKeyList(dict);
			}
	        			if (this.PurDepartment != null) 
			{
				this.PurDepartment.DoSerializeKeyList(dict);
			}
	        	        			if (this.ItemInfo != null) 
			{
				this.ItemInfo.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.DescFlexSegments != null) 
			{
				this.DescFlexSegments.DoSerializeKeyList(dict);
			}
	        			if (this.ReqDept != null) 
			{
				this.ReqDept.DoSerializeKeyList(dict);
			}
	        			if (this.ReqEmployee != null) 
			{
				this.ReqEmployee.DoSerializeKeyList(dict);
			}
	        	        			if (this.Project != null) 
			{
				this.Project.DoSerializeKeyList(dict);
			}
	        			if (this.Warehouse != null) 
			{
				this.Warehouse.DoSerializeKeyList(dict);
			}
	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public PRLineAITDTOData(  ufida.u9.ait.openapi.PRAITDTOData pRAITDTO  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData tradeUOM  , System.String requiredDeliveryDate  , System.Decimal reqQtyTU  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData regOrg  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData rcvOrg  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData purPerson  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData purDepartment  , System.String planDueDate  , ufida.u9.ait.openapi.CopyOfItemInfoData itemInfo  , System.Int32 docLineNo  , System.String deliveryDate  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexSegments  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData reqDept  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData reqEmployee  , System.String memo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData project  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData warehouse  , System.Decimal reqQtyPU  )
		{
			initData();
			this.PRAITDTO = pRAITDTO;
			this.TradeUOM = tradeUOM;
			this.RequiredDeliveryDate = requiredDeliveryDate;
			this.ReqQtyTU = reqQtyTU;
			this.RegOrg = regOrg;
			this.RcvOrg = rcvOrg;
			this.PurPerson = purPerson;
			this.PurDepartment = purDepartment;
			this.PlanDueDate = planDueDate;
			this.ItemInfo = itemInfo;
			this.DocLineNo = docLineNo;
			this.DeliveryDate = deliveryDate;
			this.DescFlexSegments = descFlexSegments;
			this.ReqDept = reqDept;
			this.ReqEmployee = reqEmployee;
			this.Memo = memo;
			this.Project = project;
			this.Warehouse = warehouse;
			this.ReqQtyPU = reqQtyPU;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 请购单DTO
		/// 请购单行DTO.Misc.请购单DTO
		/// </summary>
		private ufida.u9.ait.openapi.PRAITDTOData m_pRAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.PRAITDTOData PRAITDTO
		{
			get	
			{	
				return m_pRAITDTO ;
			}
			set	
			{	
				m_pRAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 交易单位
		/// 请购单行DTO.Misc.交易单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_tradeUOM ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TradeUOM
		{
			get	
			{	
				return m_tradeUOM ;
			}
			set	
			{	
				m_tradeUOM = value ;	
			}
		}
			
		

		/// <summary>
		/// 要求交货日期
		/// 请购单行DTO.Misc.要求交货日期
		/// </summary>
		private System.String m_requiredDeliveryDate ;
		[DataMember(IsRequired=false)]
		public System.String RequiredDeliveryDate
		{
			get	
			{	
				return m_requiredDeliveryDate ;
			}
			set	
			{	
				m_requiredDeliveryDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 需求数量
		/// 请购单行DTO.Misc.需求数量
		/// </summary>
		private System.Decimal m_reqQtyTU ;
		[DataMember(IsRequired=false)]
		public System.Decimal ReqQtyTU
		{
			get	
			{	
				return m_reqQtyTU ;
			}
			set	
			{	
				m_reqQtyTU = value ;	
			}
		}
			
		

		/// <summary>
		/// 需求组织
		/// 请购单行DTO.Misc.需求组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_regOrg ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData RegOrg
		{
			get	
			{	
				return m_regOrg ;
			}
			set	
			{	
				m_regOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 收货组织
		/// 请购单行DTO.Misc.收货组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_rcvOrg ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData RcvOrg
		{
			get	
			{	
				return m_rcvOrg ;
			}
			set	
			{	
				m_rcvOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 采购人员
		/// 请购单行DTO.Misc.采购人员
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_purPerson ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData PurPerson
		{
			get	
			{	
				return m_purPerson ;
			}
			set	
			{	
				m_purPerson = value ;	
			}
		}
			
		

		/// <summary>
		/// 采购部门
		/// 请购单行DTO.Misc.采购部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_purDepartment ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData PurDepartment
		{
			get	
			{	
				return m_purDepartment ;
			}
			set	
			{	
				m_purDepartment = value ;	
			}
		}
			
		

		/// <summary>
		/// 计划到货日期
		/// 请购单行DTO.Misc.计划到货日期
		/// </summary>
		private System.String m_planDueDate ;
		[DataMember(IsRequired=false)]
		public System.String PlanDueDate
		{
			get	
			{	
				return m_planDueDate ;
			}
			set	
			{	
				m_planDueDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 料品信息
		/// 请购单行DTO.Misc.料品信息
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfItemInfoData m_itemInfo ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfItemInfoData ItemInfo
		{
			get	
			{	
				return m_itemInfo ;
			}
			set	
			{	
				m_itemInfo = value ;	
			}
		}
			
		

		/// <summary>
		/// 行号
		/// 请购单行DTO.Misc.行号
		/// </summary>
		private System.Int32 m_docLineNo ;
		[DataMember(IsRequired=false)]
		public System.Int32 DocLineNo
		{
			get	
			{	
				return m_docLineNo ;
			}
			set	
			{	
				m_docLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 提交日期
		/// 请购单行DTO.Misc.提交日期
		/// </summary>
		private System.String m_deliveryDate ;
		[DataMember(IsRequired=false)]
		public System.String DeliveryDate
		{
			get	
			{	
				return m_deliveryDate ;
			}
			set	
			{	
				m_deliveryDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域
		/// 请购单行DTO.Misc.描述性弹性域
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexSegments ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexSegments
		{
			get	
			{	
				return m_descFlexSegments ;
			}
			set	
			{	
				m_descFlexSegments = value ;	
			}
		}
			
		

		/// <summary>
		/// 需求部门
		/// 请购单行DTO.Misc.需求部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_reqDept ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData ReqDept
		{
			get	
			{	
				return m_reqDept ;
			}
			set	
			{	
				m_reqDept = value ;	
			}
		}
			
		

		/// <summary>
		/// 需求人员
		/// 请购单行DTO.Misc.需求人员
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_reqEmployee ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData ReqEmployee
		{
			get	
			{	
				return m_reqEmployee ;
			}
			set	
			{	
				m_reqEmployee = value ;	
			}
		}
			
		

		/// <summary>
		/// 备注
		/// 请购单行DTO.Misc.备注
		/// </summary>
		private System.String m_memo ;
		[DataMember(IsRequired=false)]
		public System.String Memo
		{
			get	
			{	
				return m_memo ;
			}
			set	
			{	
				m_memo = value ;	
			}
		}
			
		

		/// <summary>
		/// 项目
		/// 请购单行DTO.Misc.项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_project ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Project
		{
			get	
			{	
				return m_project ;
			}
			set	
			{	
				m_project = value ;	
			}
		}
			
		

		/// <summary>
		/// 存储地点
		/// 请购单行DTO.Misc.存储地点
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_warehouse ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Warehouse
		{
			get	
			{	
				return m_warehouse ;
			}
			set	
			{	
				m_warehouse = value ;	
			}
		}
			
		

		/// <summary>
		/// 需求数量(计价)
		/// 请购单行DTO.Misc.需求数量(计价)
		/// </summary>
		private System.Decimal m_reqQtyPU ;
		[DataMember(IsRequired=false)]
		public System.Decimal ReqQtyPU
		{
			get	
			{	
				return m_reqQtyPU ;
			}
			set	
			{	
				m_reqQtyPU = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																																						
		#endregion 
	} 	
}
